package com.javasea.spring.event;

import org.springframework.context.ApplicationEvent;

/**
 * 事件类 继承 ApplicationEvent
 * @Author longxiaonan@163.com
 * @Date 15:20 2022/3/23 0023
 **/
public class ReconnectApplicationEvent extends ApplicationEvent {

   private String message;

   public ReconnectApplicationEvent(Object source, String message) {
       super(source);
       this.message = message;
  }

   public String getMessage() {
       return message;
  }

}
